package com.bym.mall.form;

import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * 购物车添加表单
 *
 * @author My
 * @date 2022/03/26
 */
@Data
public class CartAddForm {

    @NotNull
    private Integer productId;

    @NotNull
    private Integer quantity;

    @NotNull
    private Boolean selected = true;
}
